package com.h3c.ptability.entity;

import java.util.Date;
import javax.persistence.*;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: PtApp
 *
 * @Author: l22886
 * @Date: 2022-03-14
 * Description: pt_app 实体
 * Version: 1.0
 */
@ApiModel(value="PtApp对象", description="")
@Table(name = "pt_app")
public class PtApp {


    @ApiModelProperty(value = "应用编码")
    @Column(name = "app_id")
    @TableId
    private String appId;

    @ApiModelProperty(value = "应用名称")
    @Column(name = "app_name")
    private String appName;

    @ApiModelProperty(value = "应用领域")
    @Column(name = "app_domain")
    private Integer appDomain;

    @ApiModelProperty(value = "应用类型：1 普通应用；2 高密应用；")
    @Column(name = "app_type")
    private Integer appType;

    @ApiModelProperty(value = "应用名称英文")
    @Column(name = "app_name_en")
    private String appNameEn;

    @ApiModelProperty(value = "应用的部门通过公关服务管理：1 是；2 否；")
    @Column(name = "app_dept_manage_flag")
    private Integer appDeptManageFlag;

    @ApiModelProperty(value = "服务说明")
    @Column(name = "app_remark")
    private String appRemark;

    @ApiModelProperty(value = "服务说明-英文")
    @Column(name = "app_remark_en")
    private String appRemarkEn;

    @ApiModelProperty(value = "应用菜单前缀")
    @Column(name = "menu_prefix")
    private String menuPrefix;

    @ApiModelProperty(value = "应用图标或图片名称")
    @Column(name = "app_icon")
    private String appIcon;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "创建人工号")
    @Column(name = "creator_id")
    private String creatorId;

    @ApiModelProperty(value = "编辑时间")
    @Column(name = "update_time")
    private Date updateTime;

    @ApiModelProperty(value = "编辑人工号")
    @Column(name = "updator_id")
    private String updatorId;

    @ApiModelProperty(value = "鉴权中心应用id")
    @Column(name = "auth_center_id")
    private String authCenterId;

    @ApiModelProperty(value = "eos服务id")
    @Column(name = "service_id")
    private String serviceId;

    @ApiModelProperty(value = "待办系统编码")
    @Column(name = "systemid")
    private String systemid;

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getSystemid() {
        return systemid;
    }

    public void setSystemid(String systemid) {
        this.systemid = systemid;
    }

    public String getAuthCenterId() {
        return authCenterId;
    }

    public void setAuthCenterId(String authCenterId) {
        this.authCenterId = authCenterId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public Integer getAppDomain() {
        return appDomain;
    }

    public void setAppDomain(Integer appDomain) {
        this.appDomain = appDomain;
    }

    public Integer getAppType() {
        return appType;
    }

    public void setAppType(Integer appType) {
        this.appType = appType;
    }

    public String getAppNameEn() {
        return appNameEn;
    }

    public void setAppNameEn(String appNameEn) {
        this.appNameEn = appNameEn;
    }

    public Integer getAppDeptManageFlag() {
        return appDeptManageFlag;
    }

    public void setAppDeptManageFlag(Integer appDeptManageFlag) {
        this.appDeptManageFlag = appDeptManageFlag;
    }

    public String getAppRemark() {
        return appRemark;
    }

    public void setAppRemark(String appRemark) {
        this.appRemark = appRemark;
    }

    public String getAppRemarkEn() {
        return appRemarkEn;
    }

    public void setAppRemarkEn(String appRemarkEn) {
        this.appRemarkEn = appRemarkEn;
    }

    public String getMenuPrefix() {
        return menuPrefix;
    }

    public void setMenuPrefix(String menuPrefix) {
        this.menuPrefix = menuPrefix;
    }

    public String getAppIcon() {
        return appIcon;
    }

    public void setAppIcon(String appIcon) {
        this.appIcon = appIcon;
    }

    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdatorId() {
        return updatorId;
    }

    public void setUpdatorId(String updatorId) {
        this.updatorId = updatorId;
    }

    @Override
    public String toString() {
        return "PtApp{" +
                "appId='" + appId + '\'' +
                ", appName='" + appName + '\'' +
                ", appDomain=" + appDomain +
                ", appType=" + appType +
                ", appNameEn='" + appNameEn + '\'' +
                ", appDeptManageFlag=" + appDeptManageFlag +
                ", appRemark='" + appRemark + '\'' +
                ", appRemarkEn='" + appRemarkEn + '\'' +
                ", menuPrefix='" + menuPrefix + '\'' +
                ", appIcon='" + appIcon + '\'' +
                ", createTime=" + createTime +
                ", creatorId='" + creatorId + '\'' +
                ", updateTime=" + updateTime +
                ", updatorId='" + updatorId + '\'' +
                ", authCenterId='" + authCenterId + '\'' +
                ", serviceId='" + serviceId + '\'' +
                '}';
    }
}
